package cn.sxt.userscenter.common.dao;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;

public interface IBaseDao <T>{

	//增加一条
	int saveOne(T t);
	//更新一条
	int updateOne(T t);
	//删除一条
	int deleteOne(T t);
	//查询一条
	T findOne(Map<String, Object> condMap);
	//查询多条
	List<T> findCondList(Map<String, Object> condMap);
}
